package day013.regex;

public class RegexDemo05 {
    public static void main(String[] args) {
        System.out.println("DG8FV-B9TKY-FRT9J-99899-XPQ4G"
                .matches("([A-Z0-9]{5}-){4}[A-Z0-9]{5}"));
    }
}
